//package com.tcoiss.datafactory.config;
//
//import com.tcoiss.common.mq.factory.impl.MqSpringClientFactory;
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.stereotype.Component;
//
//@Configuration
//@Component
//public class MqConfig {
//
//    // ---------------------- param ----------------------
//
//    @Value("${xxl.mq.admin.address}")
//    private String adminAddress;
//    @Value("${xxl.mq.accessToken}")
//    private String accessToken;
//
//
//    @Bean
//    public MqSpringClientFactory getMqConsumer(){
//
//        MqSpringClientFactory mqSpringClientFactory = new MqSpringClientFactory();
//        mqSpringClientFactory.setAdminAddress(adminAddress);
//        mqSpringClientFactory.setAccessToken(accessToken);
//
//        return mqSpringClientFactory;
//    }
//}
